using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Lutos.Data;

namespace Lutos.Data
{
    public class SingletonProvider<T> where T : new()
    {
        SingletonProvider(){}

        public static T Instance
        {
            get { return SingletonCreator.Instance; }
        }
        
        class SingletonCreator
        {
            static SingletonCreator(){}
            internal static readonly T Instance = new T();
        }
    }
}
